package com.maben.vue_support.aspect.pojo;

/**
 * 操作类型
 */
public enum OperateType {
    OPERATE_TYPE_INSERT("0","新增"),
    OPERATE_TYPE_UPDATE("1","修改"),
    OPERATE_TYPE_DELETE("2","删除"),
    OPERATE_TYPE_SEARCH("3","查询"),
    OPERATE_TYPE_EXPORT("4","导出"),
    OPERATE_TYPE_LOGIN("5","登录"),
    OPERATE_TYPE_SAVE("6","保存");

    private String value;
    private String description;

    OperateType(String value,String description) {
        this.value = value;
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
